﻿using AutoMapper;
using BCDto.WeChatComponent.WeChatCustomMenu;
using BCEntity.WeChatComponent.WeChatCustomMenu;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCService.MapperProfiles
{
    public class WeChatCoutomMenuProfile : Profile
    {
        public WeChatCoutomMenuProfile()
        {
            CreateMap<WeChatCustomMenuEntity, WeChatCustomMenuDto>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WeChatCustomMenuDto, WeChatCustomMenuEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
            CreateMap<WeChatCustomMenuRequestDto, WeChatCustomMenuEntity>().IgnoreAllPropertiesWithAnInaccessibleSetter();
        }
    }
}
